package my.audit.message.dm;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import my.audit.message.beans.Audit;

public class VehicleHistoryAuditDataManagerImpl extends HibernateDaoSupport
		implements VehicleHistoryAuditDataManager {

	private Logger logger = LoggerFactory.getLogger(getClass());

	public void createAudit(Audit audit) {
		logger.debug("Before save, audit:{}", audit);
		getSession().saveOrUpdate(audit);
		logger.debug("After save, audit:{}", audit);
	}

}
